const mongoose = require('mongoose');
const Schema = mongoose.Schema;

const CitySchema = new Schema({
	city: {
		type: String,
		required: true
	},
	lanX:{
		type:String
	},
	lanY:{
		type:String
	},

	date:{  //日期
		type:Date,
		default:Date.now()
	}
});
module.exports = City = mongoose.model('city',CitySchema);
